package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 硬件归属表
 *
 * @author  yyy
 * @date 2020/02/13
 */
@Data
@TableName("wh_hardware")
@EqualsAndHashCode(callSuper = true)
public class Hardware  extends Model<Hardware> {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;

	/**
	 * 机器码
	 */
	private String udid;

	/**
	 * 会员编码
	 */
	private String memberId;

	/**
	 * 激活的天数
	 */
	private String useTime;

	/**
	 * 机构ID
	 */
	private String orgId;

	/**
	 * 供应商ID
	 */
	private String optrId;

	/**
	 * 创建时间
	 */
	private LocalDateTime updateTime;

	/**
	 * 分配时间
	 */
	private String distributeTime;

}
